package com.framework.seedkit.ui.fragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.framework.seedkit.R;
import com.framework.seedkit.base.BaseFragment;

import butterknife.BindView;

/**
 * author：yisong on 2016/6/12 14:53
 * email：yisong@f-road.com.cn
 */
public class TestFrag3 extends BaseFragment implements View.OnClickListener{
    @BindView(R.id.add_reminder_txt)
    TextView add_reminder_txt;

    private String TAG = "TestFrag3";
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        return super.onCreateView(inflater, container, savedInstanceState);
    }

    @Override
    protected int getLayoutId() {
        return R.layout.frag_view3;
    }

    @Override
    public void initView() {
        add_reminder_txt.setOnClickListener(this);
    }

    @Override
    public void initData() {
    }

    @Override
    public void onActivityCreated(@Nullable Bundle savedInstanceState) {
        super.onActivityCreated(savedInstanceState);
    }

    @Override
    public void onResume() {
        super.onResume();
    }

    @Override
    public void onDestroyView() {
        super.onDestroyView();
        Log.d(TAG, "onDestroyView");
    }

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    public TestFrag3() {
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.add_reminder_txt:
                //to do
                break;
        }
    }
}
